package com.ohs.dal.model;

import java.util.HashSet;
import java.util.Set;

public class Specialty extends Entity {
	private long specialtyId;
	private String name;
	private Set accounts = new HashSet(0);
	
	public Specialty() {
		
	}
	
	public Specialty(long id, String name) {
		this.specialtyId = id;
		this.name = name;
	}
	public long getSpecialtyId() {
		return specialtyId;
	}
	public void setSpecialtyId(long specialtyId) {
		this.specialtyId = specialtyId;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Set getAccounts() {
		return accounts;
	}
	public void setAccounts(Set accounts) {
		this.accounts = accounts;
	}
	
	
}
